﻿using System.Collections.ObjectModel;
using Microsoft.EntityFrameworkCore;

namespace CRM.Models.Email
{
    public class EmailConfigGroup : BaseModel
    {
        [Comment("id")]
        public int Id { get; set; }
        
        [Comment("UserId")]
        public int UserId { get; set; }
        
        [Comment("GroupId")]
        public int GroupId { get; set; }
        
        [Comment("CompanyId")]
        public int CompanyId { get; set; }
        
        [Comment("OemId")]
        public int OemId { get; set; }
        
        [Comment("分组名称")]
        public string Name { get; set; }

        public virtual Collection<EmailConfig> EmailConfigs { get; set; }
    }
}